<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>京东价格案例实战</title>
    <style>
        .price {
            width: 160px;
            height: 24px;
            line-height: 24px;
            border: 1px solid red;
            margin: 0 auto;
        }

        .price .miaosha {
            position: relative;
            width: 90px;
            height: 100%;
            display: inline-block;
            background-color: red;
            text-align: center;
            font-weight: 700;
            color: #fff;
            margin-right: 5px;
        }

        .price .miaosha i {
            position: absolute;
            right: 0;
            width: 0px;
            height: 0px;
            border-color: transparent #fff transparent transparent;
            border-style: solid;
            border-width: 24px 10px 0px 0px;
        }

        .origin {
            text-decoration: line-through;
            font-size: 14px;
            color: gray;
        }
        input::placeholder {
            color: pink;
        }
    </style>
</head>

<body>
    <div class="price">
        <span class="miaosha">
            ￥1650
            <i></i>
        </span>
        <span class="origin">￥5650</span>
    </div>
    <input type="search" name="" id="" autocomplete="off">
    <input type="file" name="" id="" multiple="multiple">
</body>

</html>